Code_Snippets\REST_API\Snippets_REST_Controller S

Total Complexity 39
Dependencies 6
Dependents 2
Total lines 519
Lines of code 306
Logical lines of code 74
Comment lines 155
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
register_routes()
S
37 1 105
update_item()
S
53 6 22
get_item_schema()
S
43 2 59
get_item()
S
59 4 13
prepare_item_for_database()
S
63 4 11
create_item()
S
62 2 11
delete_item()
S
62 2 11
activate_item()
S
62 2 11
deactivate_item()
S
62 2 11
get_items()
S
65 2 9
prepare_item_for_response()
S
67 2 8
get_item_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
create_item_permissions_check()
S
81 1 3
get_base_route()
S
79 1 3
get_items_permissions_check()
S
81 1 3
export_item_code()
S
73 1 5
export_item()
S
73 1 5
get_prefixed_base_route()
S
77 1 3
build_export()
S
74 1 4